package com.lczyfz.wisdom.modules.platform.wxutils;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * Create by css on 2019/10/9
 */
public class MobileVerify {

    private static String CHECK_PATTERN = "^[1][3,4,5,7,8][0-9]{9}$";

    public static boolean getVerify(String mobile){
        Pattern pattern = Pattern.compile(MobileVerify.CHECK_PATTERN);
        Matcher matcher = pattern.matcher(mobile);
        return matcher.matches();
    }
}
